package com.passive.lock.service.lock;

import java.util.List;

import com.passive.lock.model.po.TKey;
import com.passive.lock.model.vo.TDeptVo;
import com.passive.lock.model.vo.TKeyVo;
import com.passive.lock.model.vo.TLockVo;
import com.passive.lock.utils.Result;

public interface LockService {
	/**
	 * 批量删除锁具
	 * 
	 * @param tKeyids
	 * @return
	 */
	Result deleteLockList(List<Integer> lockids);
	/**
	 * 删除锁具
	 * 
	 * @param tLockVo
	 * @return
	 */
	Result deleteLock(TLockVo tLockVo);
	/**
	 * 更新锁具
	 * 
	 * @param tLockVo
	 * @return
	 */
	Result updateLock(TLockVo tLockVo);
	/**
	 * 添加锁具
	 * 
	 * @param tLockVo
	 * @return
	 */
	Result addLock(TLockVo tLockVo);
	/**
	 * 添加锁具
	 * 
	 * @param tDeptVo
	 * @return
	 */

	int lockListCount(String groupid,String routeId, String lockName, String lockCode, String lockType);
	/**
	 * 添加锁具
	 * 
	 * @param tDeptVo
	 * @return
	 */

	List<TLockVo> lockList(String groupid,String routeId, String lockName, String lockCode, String lockType, int offset,
			Integer limit);
	/**
	 * 查询锁具列表
	 * 
	 * @param regionId
	 * @return
	 */
	Result queryLockList(Integer regionId,Integer routeId,String groupid);

}
